package com.fy56.platform.logistics.service.web;

import com.fy56.platform.logistics.common.ResultModel;
import com.fy56.platform.logistics.model.MiniProgram;
import com.fy56.platform.logistics.service.common.IBaseService;

import java.util.ArrayList;

/**
 * 小程序项目Service接口
 * @author li
 * @date 2018-02-08 16:57
 */
public interface IMiniProgramService extends IBaseService<MiniProgram> {

    MiniProgram selectByCode(String tenantCode);

    /**
     * 根据AppID 获取数据
     * @param appId
     * @return
     */
    MiniProgram selectByAppId(String appId);

    /**
     * 批量删除
     *
     * @param list
     * @return
     */
    ResultModel batchDelete(ArrayList<MiniProgram> list);
}
